import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router/route'
//引入elementUI组件库
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';

//引入axios
import axios from './router/axios';
axios.defaults.baseURL = "http://localhost:9191/" ;

Vue.prototype.$axios = axios;
Vue.use(ElementUI)
Vue.config.productionTip = false

//时间格式化
import Moment from "moment";
Vue.prototype.moment = Moment;
Vue.prototype.$bus = new Vue()
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
